@import '~antd/lib/style/themes/default.less';

@site-text-color: #314659;
@home-bg-color: #2f54eb;
@home-text-color: #314659;
@padding-space: 120px;
@border-color: rgba(229, 231, 235, 100);

footer.dark {
  background-color: #000;
  color: rgba(255, 255, 255, 0.65);
  z-index: 1;
  a {
    color: rgba(255, 255, 255, 0.9);
  }
  h2 {
    color: rgba(255, 255, 255, 1);
    & > span {
      color: rgba(255, 255, 255, 1);
    }
  }
  .bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
  }
}

footer {
  clear: both;
  font-size: 14px;
  background: #fff;
  position: relative;
  z-index: 100;
  color: @site-text-color;
  //   box-shadow: 0 1000px 0 1000px #fff;

  .footer-center {
    display: inline-block;
    text-align: left;
    > div {
      margin: 12px 0;
    }

    > h2 {
      font-size: 16px;
      margin: 0 auto 24px;
      font-weight: 500;
      position: relative;

      > .title-icon {
        width: 27px;
        margin-right: 16px;
      }
      > .anticon {
        font-size: 16px;
        position: absolute;
        left: -22px;
        top: 3px;
        color: #aaa;
      }
    }
  }
  .footer-wrap {
    position: relative;
    padding: 40px @padding-space 40px @padding-space;
  }
  .bottom-bar {
    border-top: 1px solid @border-color;
    text-align: right;
    padding: 16px @padding-space;
    margin: 0;
    line-height: 32px;
    a {
      color: rgba(255, 255, 255, 0.65);
      &:hover {
        color: #fff;
      }
    }
    .translate-button {
      text-align: left;
    }
  }
}
